package com.hskn.hss.module.file.service;

import com.alibaba.fastjson.JSONObject;
import com.hskn.hss.exception.HssException;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hskn
 * @since 2021-04-30
 */
public interface IFileService {

    String upload(JSONObject params) throws HssException;

    String uploadFile(MultipartFile params) throws HssException, IOException;
}
